import com.test.MyRunnable;
import com.test.MyThread;

public class Demo01 {
    public static void main(String[] args) {

        MyRunnable runnable = new MyRunnable();


        Thread thread = new Thread(runnable,"线程1");

        thread.start();

        for (int i=0;i<3000;i++){
            System.out.println("main线程正执行："+ i);
        }
    }
}
